package com.zq.structure.adapter;

public interface Adaptee {
    void output();
}

class ConcreteAdapteeA implements Adaptee {

    @Override
    public void output() {
        System.out.println("被适配的类A对象");
    }
}

class ConcreteAdapteeB implements Adaptee {

    @Override
    public void output() {
        System.out.println("被适配的类B对象");
    }
}
